Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix light client sync miss some tx. #2992

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

yanguoyu
Copy link
Collaborator

Refer to Magickbase/neuron-public-issues#329 (comment).
Additionally, I rename Connector to Synchronizer refer to https://github.com/nervosnetwork/neuron/pull/2965/files#r1412661113. For more clarity, Rename blockStartNumber to localSavedBlockNumber, rename blockEndNumber to syncedBlockNumber in the sync_progress table.

@yanguoyu yanguoyu force-pushed the fix-light-sync branch 5 times, most recently from 2116e2f to e04879a Compare December 19, 2023 08:45
@yanguoyu
Copy link
Collaborator Author

yanguoyu commented Dec 19, 2023

/package
Packaging for test is done in 7259426817. @yanguoyu

@yanguoyu
Copy link
Collaborator Author

/package Packaging for test is done in 7259426817. @yanguoyu

This package always throws Last few GCs, I will check what causes this.

@yanguoyu
Copy link
Collaborator Author

yanguoyu commented Dec 21, 2023

/package
Packaging for test is done in 7285258383. @yanguoyu

1. Use `partial` and `delete` for set_scripts
2. Sync the next block number after all addresses are synced to the block number
3. Rename `blockStartNumber` to `localSavedBlockNumber`, rename `blockEndNumber` to `syncedBlockNumber`
@Keith-CY
Copy link
Collaborator

Keith-CY commented Dec 29, 2023

/package
Packaging for test is done in 7353317097. @Keith-CY

@Keith-CY
Copy link
Collaborator

Please have a review @homura @WhiteMinds @devchenyan @zhangyouxin

@silySuper
Copy link
Collaborator

silySuper commented Jan 4, 2024

/package
Packaging for test is done in 7404139511. @silySuper

@silySuper
Copy link
Collaborator

Neuron in windows can not sync for about two days,sync process can not change or alaways show '正在连接节点'.

@yanguoyu yanguoyu added this pull request to the merge queue Jan 10, 2024
Merged via the queue into nervosnetwork:develop with commit 5f9f767 Jan 10, 2024
10 checks passed
@yanguoyu yanguoyu deleted the fix-light-sync branch January 10, 2024 01:25
yanguoyu added a commit to yanguoyu/neuron that referenced this pull request Mar 14, 2024
* refactor: Rename connector to synchronizer

* fix: fix light sync logic

1. Use `partial` and `delete` for set_scripts
2. Sync the next block number after all addresses are synced to the block number
3. Rename `blockStartNumber` to `localSavedBlockNumber`, rename `blockEndNumber` to `syncedBlockNumber`
@Keith-CY Keith-CY mentioned this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants